import pygame
pygame.init()

window_size = (400, 500)
screen = pygame.display.set_mode(window_size)

pygame.display.set_caption("My First Window")

running = True

while running:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            running = False

pygame.quit()
